﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
</head>
<body>



    <div id="divconn">

    </div>
    <script src="/Scripts/Admin/auxiliary.js"></script>
    <script>

         layui.config({
             base: '/Scripts/Layui/formEditor/js/'
         }).use(['formEditor', 'layer'], function () {

             var layer = layui.layer;
             var formEditor = layui.formEditor;
             formEditor.render(
                 {
                     elem: '#divconn',
                     data: null,
                     type: 2,
                    // value: value,
                     title: "标题",
                     taskformtable: null,
                     callback: {
                         save: function (data) {

                         },


                         submit: function (data) { }
                         /*
                         , reset: function (data) {

                         }*/
                         ,
                         cancel: function (data) {
                             if (parentindex !== null) {
                                 parent.layer.close(parentindex);
                             }
                             else {
                                 //关闭当前页面

                             }
                         },
                         saveTemplate: function (data) {

                             //判断是否删除历史遗留列

                         }


                         , examineadopt: function (TemplateID)
                         {

                         }
                         , examinenoadopt: function (TemplateID) {

                         }
                     }
                 });



         });

    </script>

</body>
</html>